﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;

public partial class UpdatePnlln : System.Web.UI.Page
{
    protected void Page_Load(object sender, EventArgs e)
    {
        lblInterior.Text = "我在UpdatePanel控件中";
        lblExterior.Text = "我在UpdatePanel控件外";
    }

    protected void btnRefresh_Click(object sender, EventArgs e)
    {
        lblInterior.Text = DateTime.Now.ToLongDateString();
        lblExterior.Text = DateTime.Now.ToLongDateString();
    }
}